package me.jessyan.mvparms.demo.mvp.ui.adapter;

import android.view.View;


import com.jess.arms.base.BaseHolder;
import com.jess.arms.base.DefaultAdapter;
import com.platform.ai.control.R;


import java.util.List;


/**
 * Created by 95 on 2017/9/5.
 */
public class RepertoryAdapter extends DefaultAdapter<String> {

    public RepertoryAdapter(List<String> repertorys) {
        super(repertorys);
    }

    @Override
    public BaseHolder getHolder(View v, int viewType) {
        return new RepertoryHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.item_repertory;
    }

    public class RepertoryHolder extends BaseHolder<String> {

        public RepertoryHolder(View itemView) {
            super(itemView);
        }

        @Override
        public void setData(String title, int position) {

        }
    }



}
